package com.gulimall.cart.service;

import com.gulimall.cart.vo.CartItemVo;
import com.gulimall.cart.vo.CartVo;

import java.util.List;

/**
 * @author coder_ccy
 * @date 2022/4/7 14:39
 */
public interface CartService {

    public void addCart(long skuId,int num);


    public CartItemVo getCartItemVoBySkuId(long skuId);

    public List<CartItemVo> getCartItemsByKey(String key);
    public CartVo getCart();

    void clearCart(String cartKey);


}
